home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 13 / CU Amiga Magazine's Super CD-ROM 13 (1997)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1997-08].iso / CUCD / Graphics / Ghostscript / readmes / gs403_000.readme next >
Text File  |  1997-06-03  |  8KB  |  177 lines

  1. Short:    Ghostscript4.03 68000 bin, bugfix 2
  2. Author:   GS(Aladdin)/Amiga(Olaf Barthel/Steffen Opel)/Port(me)
  3. Uploader: JoopvandeWege@mail.mococo.nl
  4. Type:     gfx/show
  5. Requires: gs403data.lha
  6.  
  7. This is the Amiga port of Ghostscript4.03. Ghostscript is a Postscript
  8. interpreter with support for Level 2 PS and PDF. This release includes
  9. most popular printers and fileformats including an updated Amiga display
  10. driver.
  11.  
  12. Fix 1: -sDEVICE=amiga_custom shouldn't crash anymore
  13. Fix 2: opening of scratch files improved (hopefully failsave now)
  14.  
  15. Features:
  16. Ghostscript supports three Amiga specific devices (but see below for ILBM):
  17.     amiga           Amiga Workbench window
  18.     amiga_custom    Amiga custom screenmodes
  19.     amiga_printer   Amiga printer.device
  20. (redesign done by Steffen Opel opel@sto.isdn.uni-mannheim.de)
  21.  
  22. The device 'amiga' opens an Intuition window on the Workbench screen to
  23. display the image. Its usage should be pretty obvious.
  24.  
  25. The device 'amiga_custom' opens a Customscreen to display the image. This 
  26. allows any Display Mode available in the screenmode preferences to be used
  27. with Ghostscript too.
  28.  
  29. The device 'amiga_printer' is a convenient alternative for the printer devices
  30. provided by Ghostscript itself. It facilitates standard Amiga printing via the
  31. Workbench printer drivers and respects most settings in the graphics 
  32. preferences as described in the Workbench documentation.
  33.  
  34. All three devices are supporting -g and -r as described in 'use.txt'.
  35.  
  36. Ghostscript currently has only limited support for IFF ILBM files:
  37.     amiga_ilbm    IFF ILBM file format
  38.  
  39. The device 'amiga_ilbm' works like any other Ghostscript raster file or 
  40. printer device (i.e. pbm), see 'Choosing the output device' above on how 
  41. to specify an output file.
  42. It supports dithered grayscale only and is not portable to other platforms 
  43. because it uses iffparse.library. A portable implementation with color 
  44. support is currently under development.
  45.  
  46. Please be sure to read the Amiga section in Use.txt for details (can be
  47. found in the directory 'doc').
  48.  
  49. This port requires:
  50. - An  Amiga  equipped  with  an mc68000 CPU or any successor CPU model and
  51.   Kickstart 2.04 or higher.
  52. - Approx. 4.7 MBytes of hard disk space available.
  53. - A  minimum  of 1 MByte of chip memory, depending on what you want to do
  54.   with  the  interpreter.  Printer output requires at least 2 MBytes of
  55.   contiguous memory (any memory, not necessarily chip memory).
  56. - A bunch of Postscript/Ghostscript fonts.
  57.  
  58. Comments/Suggestions/Bugs to:
  59. JoopvandeWege@mail.mococo.nl
  60. Please use a Subject field with the name 'GS403' in it.
  61. Please direct all mail to me except when you're 100% sure it is a GS
  62. problem then you can use the Aladdin email address.
  63.  
  64. Joop van de Wege
  65.  
  66.  
  67. Getting Ghostscript.
  68. Download the data archive, gs403data.lha
  69. It contains all needed data in one directory
  70.  
  71. This archive contains the base mc68000 binary which should run on plain
  72. A1200, A3000, A4000-030, A4000 and any A500/A600/A1000/A2000 machine with
  73. a mc68020/30/40/60 installed and enough RAM. On my machine
  74. (A3000 + Merlin) it uses 150Kb Chip and 1.5Mb Fast.
  75. Expect it to use more if the psfile is big/complex or when displaying PDF
  76. files and when using 256color modes for the Workbench.
  77.  
  78. How to use Ghostscript.
  79. - Unpack the archive gs403data.lha to a suitable HD with enough room (~3.5M).
  80.   for example 'Work:'.
  81.   A directory 'Ghostscript' will be created and all files needed are found
  82.   within this directory (Work:Ghostscript).
  83. - Unpack one of the special binary archives to the same HD and the executable
  84.   will automatically be placed in the same directory (Work:Ghostscript/gs_000).
  85.   Further do:
  86.   - Assign Ghostscript: Work:Ghostscript
  87.   - path Ghostscript: add
  88.     (Optionally, rename the binary gs_xxx to 'gs')
  89.     Now you can call 'gs' from anywhere with or without arguments. If you add
  90.     the above fragment (Assign ... add) to your s:user-startup then it will
  91.     available everytime you start your computer
  92. - Unpack gs403fonts-std.lha, if you don't have a set of good quality
  93.   postscript fonts. The advantage of using this archive is that you don't
  94.   need to mess with the file 'Fontmap'. The fonts will be placed in 
  95.   'Work:Ghostscript/fonts'.
  96. Or if you already have postscript fonts, do the following:
  97.   - Assign PSFonts: to your postscript font directory (anywhere)
  98.   - create file PSFonts:FONTMAP with at least the following entries:
  99.  
  100. % fontmap aka Fontmap
  101. % ----------------------------------------------------------------
  102. /Times-Roman                    (ptmr.gsf)      ;
  103. /Times-Italic                   (ptmri.gsf)     ;
  104. /Times-Bold                     (ptmb.gsf)      ;
  105. /Times-BoldItalic               (ptmbi.gsf)     ;
  106.  
  107.     It does not matter, which font files are assigned (see below)
  108.  
  109.   - entries within the FONTMAP file at PSFonts: must follow the
  110.     scheme described below:
  111.  
  112.           /Fontname             (Filename)      ;
  113.  
  114.     for example
  115.  
  116.           /Helvetica            (Helvet.pfb)    ;
  117.  
  118.     which means, the corresponding files must actually exist.
  119.     But one also my substitute Fonts symbolically by other fonts,
  120.     like for example:
  121.  
  122.           /Helvetica_Bold       /Helvetica      ;
  123.  
  124.   - the variables in ENV: and ENVARC: must look as follows:
  125.  
  126.       Variable          Content        Remark
  127.  
  128.       GS_FONTPATH                      do not set: delete this one!!
  129.       GS_LIB            PSFonts:
  130.       GS_OPTIONS                       set it, but keep it empty
  131.       GS_DEVICE         amiga          for example (its the default)
  132.  
  133.  
  134. See the 'Ghostscript/docs/use.txt' directory for more information, like
  135. commandline options. Some notes:
  136. - Watch out for case sensitivity when using commandline options, -sOutputFile
  137.   is not equal to -soutputfile !!!!!
  138. - Set your stack high enough, 32000 bytes should do it (stack 32000).
  139.  
  140. Some very useful commandlines with comments in ():
  141. gs -h (outputs small help on most important arguments, and lists all availble
  142.        output devices)
  143. gs (gs opens window on WB and use its palette, use 256color WB if possible,
  144.     there is a problem with NewIcons, it looks like all palette entries are
  145.     reserved by NewIcons so GS will only display in B/W if you use NewIcons)
  146. gs -sDEVICE=png16m (uses the built-in PNG support instead of window on WB)
  147. gs -sOutputFile=ram:output%02d.png -sDEVICE=png256
  148.    (output to files numbered ram:output01.png/ram:output02.png/etc using
  149.     the PNG format (8bit))
  150. gs -r120 (use 120dpi as resolution instead of built-in 72, uses heaps of
  151.           memory at high values)
  152. Arguments useful for PDF files (and ps documents conforming to DSC ?)
  153. gs -dFirstPage=pagenumber (starts on the given page of the document)
  154. gs -dLastPage=pagenumber (Stops after the given page of the document)
  155. See use.doc/Switches for a complete overview of what is available.
  156.  
  157. (taken from 'new-user.txt')
  158. PDF encryption
  159. --------------
  160.  
  161. A user outside the U.S. has created code that allows processing of encrypted
  162. PDF files.  Unfortunately, current U.S. export control laws don't allow
  163. redistribution of this code from a site in the U.S., even though it's freely
  164. available to anyone anywhere in the world from its author's site, so you'll
  165. have to get this code from:
  166.  
  167.         http://www.ozemail.com.au/~geoffk/pdfencrypt/pdf_sec.ps
  168.  
  169. If that doesn't work, try:
  170.  
  171.         http://www.ozemail.com.au/%7Egeoffk/pdfencrypt/pdf_sec.ps
  172.  
  173. The patch consists entirely of PostScript code, so it can be added to a
  174. running version of Ghostscript -- you don't have to recompile anything.  It
  175. is a single file that replaces the file pdf_sec.ps in the standard
  176. Ghostscript fileset (Ghostscript:data/pdf_sec.ps).
  177.